﻿Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient

Public Class WfProjectTaskAttendee


    Public Const Table_Project_Task_Attendee As String = "project_task_attendee"

    '定义全局数据库连接对象
    Private conn As SqlConnection

    '定义全局数据库连接适配器
    Private dsCommand_WfProjectTaskAttendee As SqlDataAdapter

    '定义查询命令
    Private GetWfProjectTaskAttendeeInfoCommand As SqlCommand

    '定义事务
    Private ts As SqlTransaction


    '构造函数
    Public Sub New(ByVal DbConnection As SqlConnection, ByRef trans As SqlTransaction)
        MyBase.New()
        conn = DbConnection


        '实例化适配器
        dsCommand_WfProjectTaskAttendee = New SqlDataAdapter()

        '打开数据库连接
        If conn.State = ConnectionState.Closed Then
            conn.Open()
        End If

        '引用外部事务
        ts = trans

        '填充适配器
        GetWfProjectTaskAttendeeInfo("null")
    End Sub

    '获取项目任务信息
    Public Function GetWfProjectTaskAttendeeInfo(ByVal strSQL_Condition_WfProjectTaskAttendee As String) As DataSet


    End Function

    '更新项目任务信息
    Public Function UpdateWfProjectTaskAttendee(ByVal wfProjectTaskAttendeeSet As DataSet)

    End Function

End Class
